package com.frain.springcloud.hystrix.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "biz-provider-01", fallback = HystrixProviderFallback.class)
public interface ProviderFeignService {

    @RequestMapping("/demo/timeThreeFinish")
    public String timeThreeFinish();

    @RequestMapping("/demo/randomException")
    public String randomException();

    @RequestMapping("/demo/getFind")
    public String getDemo();

}
